﻿@model Smarly.Bussines.Model.Account.NewAccount
@{
	Layout = "~/Views/Shared/_DialogLayout.cshtml";
}



<div id="create-user">
	@using (Html.BeginForm())
	{
		<div style="width: 100%; margin: 0; padding: 0; text-align: center;">
			<div data-role="controlgroup" data-type="horizontal" data-mini="true">
				<a href="@Url.Action("Index", "Account")" data-role="button" data-rel="dialog" data-theme="c" class="d-to-d">Вход</a>
				<a data-role="button" data-rel="dialog" data-theme="b">Регистрация</a>
			</div>
		</div>

		@Html.TextBoxFor(x => x.Email, new Dictionary<string, object> { { "type", "email" }, { "placeholder", "Email" }, { "data-theme", "d" } }) 
		@Html.PasswordFor(x => x.Password, new Dictionary<string, object> { { "placeholder", "Пароль" }, { "data-theme", "d" } }) 
		@Html.PasswordFor(x => x.RepeatPassword, new Dictionary<string, object> { { "placeholder", "Еще раз пароль" }, { "data-theme", "d" } }) 

		<div style="clear: both;"></div>

		<a class="submit" href="@Url.Action("Create", "Account")" data-ajax="false" data-role="button" data-inline="true" data-theme="b" data-icon="check">Войти</a>
		<a data-role="button" data-inline="true" data-theme="d" data-rel="back" data-icon="delete">Отмена</a>
	}
</div>

